#pragma once
#include "stdafx.h"

class CGbrHttpBase
{
private:
	CGbrHttpBase(void);
public:
	CGbrHttpBase(const char *fullyQualifiedUrl);
	~CGbrHttpBase(void);
	static void *AllocMem(size_t sz);
	static void *ReallocMem(void * ptr, size_t sz);;
	static void FreeMem(void *ptr);
	static void *CopyMem(void *Destination,void *Source,size_t Length);
	static void *FillMem(void *Destination,size_t Length,unsigned char Fill);
	static void *ZeroMem(void *Destination,size_t Length);
	static void LogText(const char* s1);
	static void LogText(const char* s1, const char* s2);
	static void LogText(const char* s1, unsigned long dw1);
	static void LogText(const char* s1, const wchar_t* ws1);
protected:
	USHORT status;
	PSTR reason;
	void Initialize();
};
